var app = getApp()
Page({
    data: {
        url: ''
    },
    onLoad: function (options) {
        let orderid = options.orderid;
        let url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx2098ad2a7a689445&redirect_uri=https%3A%2F%2Fwz.whodear.com%2Fapi%2Forders%2Fgetpayopenid&response_type=code&scope=snsapi_base&state=https%3A%2F%2Fwz.whodear.com%2Fh5%2Fpayweb.html%3Forderid=${orderid}#wechat_redirect`;
        this.setData({url});
    }
})  